package com.example.demo.core.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/7/20
 */
@ConfigurationProperties(prefix = "sip")
@Component
@Data
public class SipConfig {

    private String ip ="0.0.0.0";

    //private String monitorIp = "0.0.0.0";

    private Integer port;

    private String domain;

    private String id;

    private String password;

    Integer ptzSpeed = 50;

    Integer keepaliveTimeOut = 255;

    Integer registerTimeInterval = 120;

    private boolean alarm;
}
